package com.free.note.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.free.note.domain.NoteRandomCount;
import org.apache.ibatis.annotations.Select;


/**
 * 随机的次数Mapper接口
 *
 * @author free
 * @date 2023-06-01
 */
public interface NoteRandomCountMapper extends BaseMapper<NoteRandomCount> {

    @Select("SELECT MIN(random_count) FROM note_random_count")
    Integer getMinCount();
}
